package pie

import "fmt"

type Handler interface {
	Process(ctx HandlerContext)
}

type headHandler struct{}

type tailHandler struct{}

func (h headHandler) Process(ctx HandlerContext) {
	fmt.Printf("[go-pie] head handler： this is no more handler")
}

func (t tailHandler) Process(ctx HandlerContext) {
	fmt.Printf("[go-pie] tail handler： this is no more handler")
}
